﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC16Controller
    /// </summary>
    public class VYC16Controller
    {
        private static VYC16BO _vyc16Bo;
        public VYC16Controller()
        {
            _vyc16Bo = new VYC16BO();
        }
        public List<ModelVYC16> GetAllList()
        {
            return _vyc16Bo.GetAllList();
        }
        public int AddData(ModelVYC16 model)
        {
            return _vyc16Bo.AddData(model);
        }
        public int EditData(ModelVYC16 model)
        {
            return _vyc16Bo.EditData(model);
        }
        public int DeleteData(ModelVYC16 model)
        {
            return _vyc16Bo.DeleteData(model);
        }
        public List<ModelVYC16> GetById(int id)
        {
            return _vyc16Bo.GetById(id);
        }
    }
}